package household.user.service;

import household.user.dao.UserDAO;
import household.user.model.User;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{

	@Autowired
	public UserDAO userDAOImpl;	
	
	public int save(User user){
		
		return userDAOImpl.save(user);
	}
	
	public User get(int id) {
		return userDAOImpl.get(id);
	}

	public boolean delete(int id) {
		return false;
	}

	public boolean update(User model) {
		return false;
	}
}
